package com.nimitz.maintenance.service;

import com.nimitz.common.core.domain.entity.SysUser;
import com.nimitz.maintenance.domain.Maintenance;
import com.nimitz.maintenance.domain.MaintenanceResult;

import java.util.List;

public interface MaintenanceService {
    List<Maintenance> selectAll(Long kahunaId,String state);

    void addMaintenance(Maintenance maintenance);

    void updateMaintenance(Maintenance maintenance);

    Maintenance selectMaintenance(Long id);

    void deleteMaintenance(Long id);

    List<SysUser> selectByRoleId();
}
